package com.bdqn.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.mapper.RightMapper;
import com.bdqn.pojo.Right;
import com.bdqn.service.RightService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 权限Service实现
 *
 * @author LILIBO
 * @since 2024/09/07
 */
@Service
public class RightServiceImpl extends ServiceImpl<RightMapper, Right>
        implements RightService {

    @Resource
    private RightMapper rightMapper;

    @Override
    public List<Right> findAllRights() {
        return rightMapper.findAllRights();
    }
}




